<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@include file="/page/common/public.jspf"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="${skin }/v1.min.css?v=${v}" />
<link rel="stylesheet" type="text/css"
	href="${skin }/investment_view_web2.css?v=${v}" />
<link rel="stylesheet" type="text/css"
	href="${skin }/header_footer.css?v=${v}" />
<link href="${skin }/investment_view_web2.css?v=${v}" type="text/css"
	rel="stylesheet" />
<script type="text/javascript"
	src="${path }/js/common/jquery1.10.2.min.js"></script>
<script src="${path }/js/common/helper.js?v=${v}"></script>
<script src="${path }/js/common/cookie.js?v=${v}"></script>
<script src="${path }/js/invest/invest.js?v=${v}"></script>
<script src="${path }/js/timeCountDown.js?v=${v}"></script>
<title>项目详情-${borrowInfo.borrowName }</title>
</head>

<body>
	<input type="hidden" id="bidStopyear"
		value="<fmt:formatDate value="${borrowInfo.bidStopTime}" type="both" pattern="yyyy"/>" />
	<input type="hidden" id="bidStopmonth"
		value="<fmt:formatDate value="${borrowInfo.bidStopTime}" type="both" pattern="MM"/>" />
	<input type="hidden" id="bidStopday"
		value="<fmt:formatDate value="${borrowInfo.bidStopTime}" type="both" pattern="dd"/>" />
	<input type="hidden" id="bidStophour"
		value="<fmt:formatDate value="${borrowInfo.bidStopTime}" type="both" pattern="hh"/>" />
	<input type="hidden" id="bidStopmin"
		value="<fmt:formatDate value="${borrowInfo.bidStopTime}" type="both" pattern="mm"/>" />
	<input type="hidden" id="bidStopss"
		value="<fmt:formatDate value="${borrowInfo.bidStopTime}" type="both" pattern="ss"/>" />
	<c:import url="../include/top.jsp">
		<c:param name="type" value="wytz"></c:param>
	</c:import>

	<!--面包屑导航开始-->
	<section>
		<div class="fix_width">
			<div class="m-nav">
				<a href="/">首页</a> <i></i> <label><a href="/deals">投资列表</a></label>
				<i></i> <label>${borrowInfo.borrowName }</label>
			</div>
		</div>
	</section>
	<!--面包屑导航结束-->


	<div class="wrap">
		<div class="box">
			<section>
				<div class="touzi_top clearfix">
					<div class="tztop_left fl">
						<div class="title_box">
							<h1 class="pr30">
								<span><em>${borrowInfo.borrowName }</em></span><span class="w1"></span>
							</h1>
						</div>
						<div class="tz_lilv fl">
							<dl class="clearfix">
								<dt>年化收益率：</dt>
								<dd class="f14">
									<span>${borrowInfo.borrowRate}%</span>
								</dd>
							</dl>
							<dl class="clearfix">
								<dt>收益方式：</dt>
								<dd class="f14">
									<span> ${borrowInfo.repaymentType.text } </span>
								</dd>
							</dl>
							<dl class="clearfix">
								<dt>保障方式：</dt>
								<dd>
									<span class="f14">本息全额担保</span>
								</dd>
							</dl>
						</div>
						<div class="tz_jine fl">
							<dl class="clearfix">
								<dt>可投金额：</dt>
								<dd>
									<em class="f20 yellwo"><fmt:formatNumber
											value="${borrowInfo.borrowMoney/100-borrowInfo.raiseMoney/100}"
											pattern="#0"></fmt:formatNumber> </em>&nbsp;<span class="f16">元</span>
								</dd>
							</dl>

							<div class="ketou">
								投资总额：
								<fmt:formatNumber value="${borrowInfo.borrowMoney/100/10000}"
									pattern="#0"></fmt:formatNumber>
								万元 / 已投：${borrowInfo.raiseMoney/100}元 / ${borrowInfo.minInvest / 100}元起投
								<i class="ico_progress"> <i class="ico_bace"></i> <i
									class="ico_yitou"
									style="width: <fmt:formatNumber type="number" value="${(borrowInfo.raiseMoney / borrowInfo.borrowMoney) * 100}" maxFractionDigits="1"/>%"></i>
								</i>
							</div>

							<dl class="clearfix">
								<dt>剩余时间：</dt>
								<dd>
									<span class="f14 countdown_row countdown_amount hasCountdown"
										id="leftTime"> <c:choose>
											<c:when test="${borrowInfo.status eq 'RAISE' }">
												<span class="countdown_row countdown_amount"
													id="countdown_row"></span>
											</c:when>
											<c:otherwise>
												<span class="countdown_row countdown_amount"></span>
											</c:otherwise>
										</c:choose>
									</span>
								</dd>
							</dl>
						</div>
					</div>

					<form id="computeForm" action="/deal/bid/56853" method="post"
						data-login="1">
						<div class="tztop_right fr">
							<h2>
								<span class="text f14">账户余额：</span><span
									class="f18 color-yellow1"><fmt:formatNumber
										value="${usersession.account.baseMoney/100 - usersession.account.freezeMoney/100}"
										type="currency" pattern="￥" /></span> <span class="yellwo">元</span>
								<span class="f14"><a
									href="${path }/memberCenter/toImprest.htm" target="_blank">充值</a></span>
							</h2>
							<p class="text">
								投资金额： <input type="text" class="text_box" name="investMoney"
									id="investMoney" maxlength="6"
									placeholder="${borrowInfo.minInvest / 100}元起投" />
								&nbsp;&nbsp;元
							</p>
							<p>
								<button type="button" name="investBtn" id="investBtn"
									value="确定投资" class="button_touzi">投资</button>
								<input type="hidden" name="borrowInfoId" id="borrowInfoId"
									value="${borrowInfo.id}" />
							</p>
							<span class="fceng color-red1 none" id="invest_tip"></span>
						</div>

					</form>

				</div>
			</section>
			<section>
				<div class="main clearfix">
					<div class="box_title">
						<i class="danbao"></i>担保方介绍
					</div>
					<div class="con_width">
						<h2>
							<i class="ico_jianjie"></i>机构简介
						</h2>
						${borrowInfo.guaranteeDesc}

						<!-- <h2 class="line_bg">
							<i class="ico_faq"></i> <span>担保机制常见问题</span>
						</h2>
						<h3 class="yellwo" 20px="" 0px="" 0px;="" rgb(244,=""
							137,="" 67);="" ?microsoft="" yahei?,="" ?helvetica="" neue?,=""
							helvetica,="" arial,="" sans-serif;="" 16px;="" normal;?="">借款人出现逾期、坏账和不还钱怎么办？</h3>
						<h3 class="yellwo" 20px="" 0px="" 0px;="" rgb(244,=""
							137,="" 67);="" ?microsoft="" yahei?,="" ?helvetica="" neue?,=""
							helvetica,="" arial,="" sans-serif;="" 16px;="" normal;?="">
							<p
								style="font-size: 12px; font-weight: normal; line-height: 18px;"
								0px;="" ?microsoft="" yahei?,="" ?helvetica="" neue?,=""
								helvetica,="" arial,="" sans-serif;="" rgb(135,=""
								135,="" 135);="" 14px;="" 0px;?="">
								<span style="font-size: 14px;">如果借款人出现逾期或坏账，对该借贷行为担保的担保机构对每笔借款提供不可撤销的全额本息担保，贷款到期后，借款人出现任何问题，担保机构即会启动代偿机制，按照《保证合同》约定向投资人偿付所有剩余本金及利息。然后担保机构自行负责之后的追偿，催收工作。投资者不会承担合同约定以外的任何损失，安全无风险。</span>
							</p>
						</h3>
						<h3 class="yellwo" 20px="" 0px="" 0px;="" rgb(244,=""
							137,="" 67);="" ?microsoft="" yahei?,="" ?helvetica="" neue?,=""
							helvetica,="" arial,="" sans-serif;="" 16px;="" normal;?="">平台如果不存在了，投资者的收益如何保障？</h3>
						<h3 class="yellwo" 20px="" 0px="" 0px;="" rgb(244,=""
							137,="" 67);="" ?microsoft="" yahei?,="" ?helvetica="" neue?,=""
							helvetica,="" arial,="" sans-serif;="" 16px;="" normal;?="">
							<p
								style="font-size: 12px; font-weight: normal; line-height: 18px;"
								0px;="" ?microsoft="" yahei?,="" ?helvetica="" neue?,=""
								helvetica,="" arial,="" sans-serif;="" rgb(135,=""
								135,="" 135);="" 14px;="" 0px;?="">
								<span style="font-size: 14px;">作为信息中介平台，主要职能是交易撮合，即使平台不存在，投资者的收益也还是有足够保障的。</span>
							</p>
							<p
								style="font-size: 12px; font-weight: normal; line-height: 18px;"
								0px;="" ?microsoft="" yahei?,="" ?helvetica="" neue?,=""
								helvetica,="" arial,="" sans-serif;="" rgb(135,=""
								135,="" 135);="" 14px;="" 0px;?="">
								<span style="font-size: 14px;">首先投融双方的债权债务关系不会消失；</span>
							</p>
							<p
								style="font-size: 12px; font-weight: normal; line-height: 18px;"
								0px;="" ?microsoft="" yahei?,="" ?helvetica="" neue?,=""
								helvetica,="" arial,="" sans-serif;="" rgb(135,=""
								135,="" 135);="" 14px;="" 0px;?="">
								<span style="font-size: 14px;">其次担保公司会负责投资人的全额本息担保；</span>
							</p>
							<p
								style="font-size: 12px; font-weight: normal; line-height: 18px;"
								0px;="" ?microsoft="" yahei?,="" ?helvetica="" neue?,=""
								helvetica,="" arial,="" sans-serif;="" rgb(135,=""
								135,="" 135);="" 14px;="" 0px;?="">
								<span style="font-size: 14px;">最后独立于平台外的第三方支付平台有通路保证还本付息的资金会在项目到期日划转到投资人之前在平台上绑定的收款银行卡中。</span>
							</p>
						</h3> -->
					</div>
				</div>
			</section>
			<section>
				<div class="main clearfix">
					<div class="box_title">
						<i class="ico_jiedai"></i>融资方信息
					</div>
					<div class="con_width">
						<h2>
							<i class="ico_jiben"></i>基本信息
						</h2>
						<div class="border_b pb10">
							<table width="100%" border="0" cellpadding="0" cellspacing="0"
								class="tab_jiben tab_jiben1">
								<colgroup>
									<col width="108">
								</colgroup>
								<tbody>
									<tr>
										<th>简介：</th>
										<td>
											<p style="text-align: center;">
												<span style="line-height: 0px;">﻿</span><img width="433"
													height="104"
													src="http://cms.ucfgroup.com:8000/CMS/1426217303671188.jpg"
													style="text-align: center;" />
											</p>
											<p>
												<strong>产品介绍</strong>
											</p>
											<p>“长兴8号068循环贷”产品是网信理财平台推出的投融资服务产品。该产品募集资金用于为某汽车租赁公司经营提供流动性补充资金。由网信理财平台为融资方及投资人提供全程的专业第三方服务，帮助投融资双方方便快捷地完成借贷及本金偿还和利息支付。由北京联合开元融资担保有限公司提供担保
												，借贷双方通过平台签订电子借贷协议，明确双方的债务与债权关系。该服务仅向符合中华人民共和国有关法律法规及本公司相关规定的合格投资人和融资方提供。</p>
											<p>
												<span style="color: rgb(255, 0, 0);">“长兴8号068循环贷”借款期限3个月，超过60天可提前还款，提前还款无罚息。</span>
											</p>
											<p>
												<span style="color: rgb(255, 0, 0);">优惠码返利计算规则：按照项目借款期限计算。</span>
											</p>
											<p>
												<span style="color: rgb(255, 0, 0);">优惠码返利结算时间：起息后结算，15个工作日内发放至平台账户。</span>
											</p>
											<p>
												<strong>投资安全性</strong><br />
											</p>
											<p>1、借款投资的公司为某汽车租赁公司，业务范围广，收入稳定，现金流强，销售收入和现金流稳定，还款来源有保障；
												&nbsp;</p>
											<p>2、由大型融资担保公司全额担保投资人的本金及收益，使资金安全性得到极大的保障。</p>
											<p>
												<strong>融资方介绍</strong>
											</p>
											<p>借款投资的公司为某汽车租赁公司，业务范围广，收入稳定，现金流强，处于稳步发展期，在取得经济效益的同时，也创造着显著的社会效益。</p>
											<!--!doctype-->
										</td>
									</tr>
								</tbody>
							</table>
						</div>
						<h2>
							<i class="ico_shenhe"></i>审核记录
						</h2>
						<div class="">
							<table width="100%" border="0" cellpadding="0" cellspacing="0"
								class="tab_jiben">
								<colgroup>
									<col width="470">
									<col width="410">
									<col width="144">
								</colgroup>
								<thead>
									<tr>
										<td class="pl30">审核项目</td>
										<td class="">状态</td>
										<td class="">通过时间</td>
									</tr>
								</thead>
								<tbody>
									<tr>
										<td class="pl30">身份证认证</td>
										<td class="">
											<div class="yanzheng">
												<i></i>已验证
											</div>
										</td>
										<td class="">2015-07-16</td>
									</tr>
									<tr>
										<td class="pl30">机构担保</td>
										<td class=""><div class="yanzheng">
												<i></i>已验证
											</div></td>
										<td class=""></td>
									</tr>

								</tbody>
							</table>
						</div>
					</div>
				</div>
			</section>


			<section>
				<div class="shadow clearfix pb20">
					<div class="box_title">
						<i class="ico_huankuan"></i>投资记录
					</div>
					<div class="con_width">
						<table class="con_hk f14" width="100%">
							<colgroup>
								<col width="314">
								<col width="344">
								<col width="222">
								<col width="180">
							</colgroup>
							<thead class="">
								<tr class="text1">
									<td>
										<h4>
											<span>目前投资总额（元）</span>
										</h4> <span class="color-yellow1 f20">${borrowInfo.raiseMoney / 100}</span>
									</td>
									<td>
										<h4>剩余投资总额（元）</h4> <span class="color-yellow1 f20">${borrowInfo.borrowMoney / 100 - borrowInfo.raiseMoney / 100}</span>
									</td>
									<td>
										<h4>投资结束时间</h4> <span class="color-black f20"> <fmt:formatDate value="${borrowInfo.bidStopTime}" type="both" pattern="yyyy年MM月dd日"/>
									</span>
									</td>
									<td valign="middle"><a href="javascript:void(0)"
										class="but-gray but-yellow pt5 pb5 w65 j_scroll">投资</a></td>
								</tr>
							</thead>
							<tbody>
								<tr class="text1">
									<td class="border_b"><span>投资人</span></td>
									<td class="border_b">投资金额（元）</td>
									<td class="border_b">投资时间</td>
									<td class="border_b"></td>
								</tr>
								<c:forEach items="${investList}" var="invest"
									varStatus="vstatus">
									<c:choose>
										<c:when test="${vstatus.index%2 == 0}">
											<tr class="f16">
												<td><span> <c:choose>
															<c:when test="${empty invest.investUserName}"></c:when>
															<c:when test="${fn:length(invest.investUserName) > 2}">
																<c:out
																	value="${fn:substring(invest.investUserName, 0, 2)}***" />
															</c:when>
															<c:otherwise>
																<c:out value="${invest.investUserName}***" />
															</c:otherwise>
														</c:choose></span></td>
												<td><span class="color-yellow1">¥${invest.investMoney / 100}</span></td>
												<td><fmt:formatDate value="${invest.investTime}" type="both" pattern="yyyy/MM/dd HH:mm"/></td>
												<td></td>
											</tr>
										</c:when>
										<c:otherwise>
											<tr class="trbg f16">
												<td><span> <c:choose>
															<c:when test="${empty invest.investUserName}"></c:when>
															<c:when test="${fn:length(invest.investUserName) > 2}">
																<c:out
																	value="${fn:substring(invest.investUserName, 0, 2)}***" />
															</c:when>
															<c:otherwise>
																<c:out value="${invest.investUserName}***" />
															</c:otherwise>
														</c:choose></span></td>
												<td><span class="color-yellow1">¥${invest.investMoney / 100}</span></td>
												<td><fmt:formatDate value="${invest.investTime}" type="both" pattern="yyyy/MM/dd HH:mm"/></td>
												<td></td>
											</tr>
										</c:otherwise>
									</c:choose>
								</c:forEach>
							</tbody>
						</table>
					</div>
				</div>
			</section>
		</div>
	</div>

	<c:import url="../include/foot.jsp"></c:import>

</body>
</html>